{% extends "personal_center/center_base.html" %}
{% block title %}修改密码{% endblock %}
{% block head %}
{{ super() }}
<!--<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-table.min.css') }}">-->
<!--<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>-->
<!--<script src="{{ url_for('static', filename='js/bootstrap-table.min.js') }}"></script>-->
<!--<script src="{{ url_for('static', filename='js/bootstrap-table-zh-CN.min.js') }}"></script>-->
<!--<script src="{{ url_for('static', filename='js/layer.min.js') }}"></script>-->
<style>
    .form-control {
        width: 30%;
    }
</style>

{% endblock %}

{% block page_content %}
<h1 class="page-header">修改密码</h1>
<div>
    <form action="/center/update_password" method="post" >
        <div class="form-group">
            <label>当前密码:</label>
            <input name="old_password" class="form-control" placeholder="输入当前密码"
                   type="password" required>
        </div>
        <div class="form-group">
            <label>修改密码:</label>
            <input name="new_password" class="form-control" placeholder="输入新密码"
                   type="password" required>
            <input type="hidden" name="xfrs" value="{{ xfrs }}">
        </div>
        <button type="submit" class="btn btn-primary">保存</button>
    </form>
</div>



{% endblock %}

{% block scripts %}
{{ super() }}
<script>
nav = document.getElementById("nav_edit_password");
nav.setAttribute("class", "active");

</script>
{% endblock %}
